SLES 12
Sponsored Link

FTP Server : Install Vsftpd
2015/11/23
 
Install Vsftpd to configure FTP Server.
[1] Install and Configure Vsftpd.
www:~ #
zypper -n install vsftpd
www:~ #
vi /etc/vsftpd.conf
# line 19: change

write_enable=
YES
# line 36: uncomment

ls_recurse_enable=YES
# line 62,63: uncomment ( enable chroot )

chroot_local_user=YES
chroot_list_enable=YES
# line 65: uncomment ( chroot list )

chroot_list_file=/etc/vsftpd.chroot_list
# line 80: no anonymous

anonymous_enable=
NO
# line 171,172: uncomment ( allow ascii mode )

ascii_upload_enable=YES
ascii_download_enable=YES
# line 184: change ( listen IPv4 )

listen=
YES
# line 189: change ( turn to OFF if it's not need )

listen_ipv6=
NO
# add follows to the end

# specify root directory ( if don't specify, users' home directory become FTP home directory)

local_root=public_html
# use local time

use_localtime=YES
www:~ #
vi /etc/vsftpd.chroot_list
# add users you allow to move over their home directory

suse
www:~ #
systemctl start vsftpd

www:~ #
systemctl enable vsftpd

 
Tweet